/* user的增删改查 */

const router = require('koa-router')();

router.get('/',async (ctx)=>{
    await ctx.render('admin/user/list')
})
router.get('/add',async (ctx)=>{
    await ctx.render('admin/user/add')
})
router.get('/deit',async (ctx)=>{
    ctx.body = '编辑用户'
})
router.get('/delete',async (ctx)=>{
    ctx.body = '删除用户'
})

module.exports = router.routes();